import React from "react";

import { Consumer } from "./context";

const Child3 = () => {
  return (
    <div>
      child3组件 -{" "}
      <Consumer>
        {(value) => {
          return <span>{value.msg}</span>;
        }}
      </Consumer>
    </div>
  );
};

export default Child3;
